import request from '@/utils/request'

//获取微信公众号密钥
export function getWechatOfficialOpenId(data) {
    return request({
        url: '/weChat/getOfficialOpenId',
        method: 'post',
        data: data
    })
}

//保存微信公众号用户openid
export function saveOfficialOpenId(data) {
    return request({
        url: '/weChat/saveOfficialOpenId',
        method: 'post',
        data: data
    })
}

//保存公众号用户openId(教师)
export function saveTeacherOfficialOpenId(data) {
    return request({
        url: '/weChat/saveTeacherOfficialOpenId',
        method: 'post',
        data: data
    })
}